package com.jy.adscm.dealer.service;

import com.jy.adscm.dealer.bean.DealerServiceRelation;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.security.utils.Token;

import javax.swing.text.AbstractDocument;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2019-01-17
 */
public interface DealerServiceRelationService extends IService<DealerServiceRelation> {

    boolean insertDealerServiceRelation(List<DealerServiceRelation> dealerServiceRelations, Token token) throws AdscmSystemException;

    List<DealerServiceRelation> selectDealerInfo(Integer did)throws AdscmSystemException;
}
